﻿using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using MongoDB.Bson;

namespace MvcOSGi.Shell.Company
{
    public class Company
    {
        [BsonRepresentation(BsonType.ObjectId)]
        public string _id { get; set; }
        public string Domain { get; set; }
        public int CID { get; set; }
        public string Name { get; set; }
        public string DefaultVersion { get; set; }
        public string StartUp { get; set; }
        [BsonDateTimeOptions(Kind = DateTimeKind.Local)]
        public DateTime CreatedDate { get; set; }
        [BsonDateTimeOptions(Kind = DateTimeKind.Local)]
        public DateTime ModifiedDate { get; set; }
        public string AssetLocation { get; set; }
        public int[] Versions { get; set; }
    }
}